package com.ghr.common.enums;

/**
 * @author Gghr
 * @version 1.0
 * @date 2023/7/18 21:31
 */
public enum ErrorDesc {

    DEFAULT_ERROR("失败"),

    SAVE_ERROR("插入数据失败！"),
    DELETE_ERROR("删除数据失败！"),
    UPDATE_ERROR("更新数据失败"),
    GET_ERROR("查询数据失败"),
    ;


    private final String description;

    public String getDescription() {
        return description;
    }

    ErrorDesc(String description) {
        this.description = description;
    }
}
